package com.syn.synold4s.bean.dto;

import com.gaoyi.basemodule.basebean.BaseEntity;

import java.util.List;

public class HelmetDto {
    List<HelmetPhotos> list;
    int antiCollTotal;
    List<HelmetReaders> readers;

    public List<HelmetPhotos> getList() {
        return list;
    }

    public int getAntiCollTotal() {
        return antiCollTotal;
    }

    public void setList(List<HelmetPhotos> list) {
        this.list = list;
    }

    public List<HelmetReaders> getReaders() {
        return readers;
    }

    public void setReaders(List<HelmetReaders> readers) {
        this.readers = readers;
    }

    public class HelmetPhotos extends BaseEntity {
        String deviceCode;
        String name;
        String photo;
        String lastAt;
        String icon;
        String sn;
        String address;
        String onlineState;
        String alarmTypeName;
        String alarmTime;

        public String getAlarmTypeName() {
            return alarmTypeName;
        }

        public String getAlarmTime() {
            return alarmTime;
        }

        public String getIcon() {
            return icon;
        }

        public String getSn() {
            return sn;
        }

        public String getAddress() {
            return address;
        }

        public String getOnlineState() {
            return onlineState;
        }

        public String getDeviceCode() {
            return deviceCode;
        }


        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhoto() {
            return photo;
        }


        public String getLastAt() {
            return lastAt;
        }
    }

    public class HelmetReaders {
        String id;
        String code;
        String name;
        double lat;
        double lng;
        int state;
        String stateName;
        String readerIcon;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getStateName() {
            return stateName;
        }

        public void setStateName(String stateName) {
            this.stateName = stateName;
        }

        public String getReaderIcon() {
            return readerIcon;
        }

        public void setReaderIcon(String readerIcon) {
            this.readerIcon = readerIcon;
        }
    }
}


